﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using U8Login;
using UFIDA.U8.MomServiceCommon;


namespace FERROU8API.Plugin
{
    public class ArrivedGoods
    {
        public bool Update_After(ref MSXML2.IXMLDOMDocument2 domhead, ref MSXML2.IXMLDOMDocument2 dombody, ref string errMsg)
        {
            //获取插件上下文
            bool bresult = true;
            MomCallContext ctx = MomCallContextCache.Instance.CurrentMomCallContext;

            //从上下文获取U8Login对象
            U8Login.clsLogin login = ctx.U8Login as U8Login.clsLogin;
            try
            {
                String head = domhead.xml;
                string body = dombody.xml;
                return true;
            }
            catch (Exception ex)
            {
                bresult = false;
                errMsg = ex.Message;
            }
            return bresult;
        }
    }
}
